![]() |
Documentation for Users
2.0.0
Perception Toolbox for Virtual Reality (PTVR) Manual
|
Public Member Functions | |
def | __init__ (self, r=0.0, g=0.0, b=0.0, a=1.0) |
def | get_color (self) |
def | set_color (self, r, g, b, a=1.0) |
def | to_json (self) |
def | __str__ (self) |
Data Fields | |
r | |
g | |
b | |
a | |
additionnal alpha layer More... | |
type | |
Properties | |
color = property(get_color, set_color) | |
RGBColor specifies color as Red, Green and Blue values as floats in the range [0.0,1.0] each. The Alpha value is a float in the range [0.0,1.0]. Alpha denotes transparency (0 is transparent and 1 is opaque).